package com.in.entity;

import com.in.utils.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统用户表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class InUser extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * uuid
     */
    private String userId;
    /**
     * 账号
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 性别：F、女；M、男；U、未知
     */
    private String gender;
    /**
     * 最近登录时间
     */
    private LocalDateTime lastLogin;
}
